﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x0200007F RID: 127
	internal class FixByte : IByteDecoder
	{
		// Token: 0x0600023A RID: 570 RVA: 0x0000B254 File Offset: 0x00009654
		private FixByte()
		{
		}

		// Token: 0x0600023B RID: 571 RVA: 0x0000B25C File Offset: 0x0000965C
		public byte Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 1;
			return bytes[offset];
		}

		// Token: 0x040000A7 RID: 167
		internal static readonly IByteDecoder Instance = new FixByte();
	}
}
